﻿namespace ED.Model.Response
{
    /// <summary>
    /// 用户角色信息请求实体
    /// </summary>
    public class UserRoleRes
    {
        /// <summary>
        /// UserName
        /// </summary>
        public string UserName { get; set; }

        /// <summary>
        /// UsertId
        /// </summary>
        public int UsertId { get; set; }

        public List<UserRole> userRoles { get; set; }
    }

    public class UserRole 
    {
        /// <summary>
        /// RoleId
        /// </summary>
        public int RoleId { get; set; }

        /// <summary>
        /// RoleName
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool Active { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Description { get; set; }

        /// <summary>
        /// 编码
        /// </summary>
        public string Code { get; set; }
    }
}
